|
AL SET AUDIO DEVICE
This function will manually set the audio device to use with DarkAL. Keep in mind that this can only be used if AL START was called with the 'defaultDevice' flag set to 0. Any attempts to change the device once initialized either manually with this function or by AL START will fail. The only way to change the device after initialization is to restart the program.
AL SET AUDIO DEVICE deviceIndex
This function does not return a value.
deviceIndex
The Index of the audio device you would like DarkAL to use. For example, if the system has 2 audio output devices, index 1 will be the first device and index 2 will be the second device. This value ranges from 1 to the number of audio devices the system has installed.
DarkAL Function Menu
|